package com.miukoo.aikao.qpaper.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.miukoo.aikao.qpaper.dto.ext.PaperQuestionAnswerExtDto;
import com.miukoo.aikao.qpaper.pojos.PaperQuestionAnswer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* <p>
* 试卷考题备选答案Mapper
* </p>
*
* @author 聪明笨狗
* @since 2020-05-25 16:33
*/
public interface PaperQuestionAnswerMapper extends BaseMapper<PaperQuestionAnswer> {

    /**
     * 查找试卷试题答案列表
     * @param paperId
     * @param questionId
     * @return
     */
    List<PaperQuestionAnswerExtDto> list(@Param("paperId") Long paperId, @Param("questionId") Long questionId);
}
